package com.sc.nft.entity.vo.ecology;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class HatchHomeVO {

    @ApiModelProperty(value = "生态燃料图片")
    private String ecologyPointsImage;

    @ApiModelProperty(value = "用户生态燃料")
    private String userEcologyPoints;

    @ApiModelProperty(value = "用户使用的生态燃料")
    private String expendEcologyPoints;

    @ApiModelProperty(value = "熔炼规则")
    private String  smeltingRuleImage;

    @ApiModelProperty(value = "熔炼权益")
    private String  smeltingEquityImage;

    @ApiModelProperty(value = "熔炼池图片")
    private String  smeltingPoolImage;


    public void setUserEcologyPoints(BigDecimal userEcologyPoints) {
        this.userEcologyPoints = userEcologyPoints.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setExpendEcologyPoints(BigDecimal expendEcologyPoints) {
        this.expendEcologyPoints = expendEcologyPoints.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }
}
